x86_emulate: Shuffle use of __attribute__((packed))
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 14 Mar 2014 08:46:34 +0000 (09:46 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 14 Mar 2014 08:46:34 +0000 (09:46 +0100)
commit4ef5d4c3aa77d8ebb843dcffad4a6ea2a8f01495
treeea6e3ac848754441c65a7f0fb3918ae2b664cbfe
parentb2f0271ef75229c1eec31fcfafbd82e31d5aa29c
x86_emulate: Shuffle use of __attribute__((packed))

Also include #defines for the test code to allow compilation.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/tests/x86_emulator/test_x86_emulator.c
tools/tests/x86_emulator/x86_emulate.c
xen/arch/x86/x86_emulate/x86_emulate.h